package com.group.elmboot.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.group.elmboot.po.Wallet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WalletMapper extends BaseMapper<Wallet>{
	
	@Select("select userId,balance,overdraft_time from wallet where is_overdraft=1")
	public List<Wallet> getOverdraftUsers();
}
